<html>
<body>
<#list print as p>
<div id="page${p.page}">
    <div style="width: 100%;font-size: 22px;text-align: center;font-weight: 900;">
        ${bp.project_code}  考证报考信息确认表
    </div>
    <div style="width: 100%;font-size: 16px;text-align: right;margin: 10px 0;">
        <strong>报考单位：</strong>${dep.dep_name}  &nbsp;&nbsp;<strong>报考班级：</strong>${bc.class_name}
    </div>
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="tab">
    <tr>
        <th >序号</th>
        <th>姓名</th>
        <th>身份证号码</th>
        <th>出生日期</th>
        <th>性别</th>
        <th>手机</th>
        <th>缴费总额</th>
        <th>缴费</th>
        <th>考试类别</th>
        <th style="width: 80px;">备注</th>
        <th style="width: 100px;">签名</th>
    </tr>
    <#list p.content as bps>
        <tr>
            <td>${bps_index+1}</td>
            <td>${bps.student_name!}</td>
            <td>${bps.student_id_cart!}&nbsp;</td>
            <td>${bps.student_birthday!}&nbsp;</td>
            <td>${bps.student_sex!}&nbsp;</td>
            <td>${bps.student_tel_phone!}&nbsp;</td>
            <td>${bps.ned_to_pay!} 元&nbsp;</td>
            <td>${bps.project_is_pay!}&nbsp;</td>
            <td>${bps.project_testing_type!}&nbsp;</td>
            <td>&nbsp;</td>
            <td>&nbsp;</td>
        </tr>
    </#list>
</table>
</div>
    </#list>
<!-- 插入打印控件 -->
<OBJECT  ID="jatoolsPrinter" CLASSID="CLSID:B43D3361-D075-4BE2-87FE-057188254255"
         codebase="jatoolsPrinter.cab#version=8,6,0,0"></OBJECT>
<script>
    function doPrint() {
        myDoc = {
            settings:{
                paperName:'a4',
                orientation:2,
                topMargin:100,
                leftMargin:100,
                bottomMargin:100,
                rightMargin:100
            },
            documents: document,
            /*
             要打印的div 对象在本文档中，控件将从本文档中的 id 为 'page1' 的div对象，
             作为首页打印id 为'page2'的作为第二页打印            */
            copyrights: '杰创软件拥有版权  www.jatools.com' // 版权声明,必须
        };
        jatoolsPrinter.printPreview(myDoc);
    }
</script>

</body>
</html>